// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeBackupTasksResponse.h"

namespace aliyun { namespace Rds {

DescribeBackupTasksResponse::DescribeBackupTasksResponse() {
}

const string& DescribeBackupTasksResponse::BackupJob::GetBackupProgressStatus(void) const {
  return BackupProgressStatus_;
}

const string& DescribeBackupTasksResponse::BackupJob::GetJobMode(void) const {
  return JobMode_;
}

const string& DescribeBackupTasksResponse::BackupJob::GetProcess(void) const {
  return Process_;
}

const string& DescribeBackupTasksResponse::BackupJob::GetTaskAction(void) const {
  return TaskAction_;
}

const string& DescribeBackupTasksResponse::BackupJob::GetBackupjobId(void) const {
  return BackupjobId_;
}

const std::vector<DescribeBackupTasksResponse::BackupJob>& DescribeBackupTasksResponse::GetItems(void) const {
  return Items_;
}

const char* DescribeBackupTasksResponse::BaseKey(void) {
  return "DescribeBackupTasksResponse";
}

void DescribeBackupTasksResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeBackupTasksResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].BackupProgressStatus_, response_map, "DescribeBackupTasksResponse.Items["+string_ValueOfInt(i1)+"].BackupProgressStatus");
      UnmarshallerString(Items_[i1].JobMode_, response_map, "DescribeBackupTasksResponse.Items["+string_ValueOfInt(i1)+"].JobMode");
      UnmarshallerString(Items_[i1].Process_, response_map, "DescribeBackupTasksResponse.Items["+string_ValueOfInt(i1)+"].Process");
      UnmarshallerString(Items_[i1].TaskAction_, response_map, "DescribeBackupTasksResponse.Items["+string_ValueOfInt(i1)+"].TaskAction");
      UnmarshallerString(Items_[i1].BackupjobId_, response_map, "DescribeBackupTasksResponse.Items["+string_ValueOfInt(i1)+"].BackupjobId");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

}


} } // namespace aliyun { namespace Rds {

// end of file 
